<?php echo form_open('Subscriber/shareemail',array('class'=>'form-horizontal frm-email-hide form-validate','id'=>'frm'));?>
    <div class="share-email-form">
        <h3>Email<a class="popup-close img-cross" href="#">X</a></h3>
        <table>
            <tr>
                <td><label for="emailto">To&nbsp;<span style="color:#f00">*</span></label></td>
                <td><input type="email" name="emailto"  aria-invalid="false" placeholder="Email Address e.g dara@gmail.com" class="form-control" required /></td>
            </tr>
            <tr>
                <td><label for="emailfrom">From&nbsp;<span style="color:#f00">*</span></label></td>
                <td><input type="email" name="emailfrom"  aria-invalid="false" placeholder="Email Address e.g dara@gmail.com" class="form-control" required /></td>
            </tr>
            <tr>
                <td><label for="subject">Subject&nbsp;<span style="color:#f00">*</span></label></td>
                <td><input type="text" name="subject" placeholder="subject" class="form-control"  required /></td>
            </tr>
            <tr>
                <td><label for="message">Message</label></td>
                <td>
                    <textarea id="message" name="message" rows="5" cols="70" ></textarea>
                    <br />
                    <span style="color:#00f" class="attached-url">google.com</span>
                </td>
            </tr>
            <tr>
                <td colspan="2"><hr /></td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <input class="btn btn-primary" type="submit" value="Share" />
                    <input class="btn popup-close" type="button" value="Cancel" />
                </td>
            </tr>
        </table>
    </div>
<?php echo form_close();?>